//
//  HeakthKnowledgeDetail.m
//  LoveHealth
//
//  Created by 陈永坤 on 14-9-19.
//  Copyright (c) 2014年 lanou. All rights reserved.
//

#import "HealthKnowledgeDetail.h"

@implementation HealthKnowledgeDetail

- (void)dealloc
{
    self.message = nil;
    self.loreclass = nil;
    self.className = nil;
    [super dealloc];
}
- (void)encodeWithCoder:(NSCoder *)aCoder
{
    [super encodeWithCoder:aCoder];
    [aCoder encodeObject:self.message forKey:@"message"];
    [aCoder encodeObject:self.className forKey:@"className"];
    [aCoder encodeObject:self.loreclass forKey:@"loreclass"];
}
- (id)initWithCoder:(NSCoder *)aDecoder
{
//    self = [super init];
    self = [super initWithCoder:aDecoder];
    if (self) {
        self.message = [aDecoder decodeObjectForKey:@"message"];
        self.className = [aDecoder decodeObjectForKey:@"className"];
        self.loreclass = [aDecoder decodeObjectForKey:@"loreclass"];
    }
    return self;
}
@end
